//
//  CYShopCartLotteryModel.m
//  CaiYun
//
//  Created by 今日信息科技 on 2017/9/30.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import "CYShopCartLotteryModel.h"

@implementation CYShopCartLotteryModel
- (NSString *)username{
    if (!_username)
        return  [CYUser shareUser].username;
  return _username;
}

- (NSString *)token{
    if (!_token)
        return  [CYUser shareUser].token;
    return _token;
}

- (NSMutableArray<CYSelectLotteryModel *> *)codes{
    if (!_codes) {
       _codes = [NSMutableArray array];
    }
    return _codes;
}
@end
